const { defineConfig } = require('@vue/cli-service')
const WindiCSSWebpackPlugin = require('windicss-webpack-plugin')

const NodePolyfillPlugin = require('node-polyfill-webpack-plugin')

module.exports = defineConfig({
  
  transpileDependencies: true,

  lintOnSave: false,

  devServer: {
    host: '0.0.0.0',
    port: 8086, // 端口
    proxy: "http://localhost:8086",
  },

  pluginOptions: {
    windicss: {
    },
  },
  configureWebpack: {
    plugins: [new NodePolyfillPlugin()]
  }
})
